from random import *
from time import *

class Password(object):
    def __init__(self, password: str = "") -> None:
        self.table = "1234567890qwertyuiopasdfghjklzxcvbnm"
        self.password = password
        seed(time())

    def randomPassword(self, n: int):
        self.password = ""
        siz = len(self.table)
        for i in range(n):
            self.password += self.table[randint(0, siz-1)]
    
    def __str__(self) -> str:
        return self.password

p = Password()
for i in range(10):
    p.randomPassword(10)
    print(p)
